not ended correctly