Fix mispelled var issue