Fixes for the recognition and sonars to work at the same time