Fixed kEND error