fix bug in eulerize function