delete some uncessary code