Properly instantiate var and fix spelling