fixed waiting for arm actually wait