fix position of func literal