fix page save in strict mode