Investigating the efficiency of dynamic vaccination by consolidating detecting errors and vaccine efficacy