Quick fix for page state