Fixed dumb nil reference