fix an old style lookat() to work as intended