try fix end issue