nil in a wrong place