Fixed bug at movement publishing