undefined variable found with strict mode