Bug with sensors fix