Fix current_app