cleanup for new mipmap constructor.