fixed import and application for wsgi