fix strict mode violation