minor, remove unecessary code