get rid of strict mode error