Fix start_app method.