fix invalid sentence