EFixed bug when end less than start