Fixed improper end