make import not hog memory in debug=True mode