fix end button