fixes for page inject