fixed missing hooks from programming modes