fixed import in index handler