Fixed last word bug