Fix completion at end of line