unexpected end solved, up to the next error