fix initial infinite loop in controller without command processed