Fixed var spelling mistake