proper locals to fix dumb bug.