Fix bug if quotations are not closed