fixed for strict mode