fixed false class lookup in main_app