fix variable mispelling