bugfix in pilot