fix for strict mode

fix for when running node in strict mode