fixed var spelling issue