fix strict mode warning