fixes the problems with clientEngine sending the wrong message