fix \n before semi