fix obsolete code of Gap