fix import bug in controller