fix behaviour of smartbot