Fixed var sub error