Fixes page mock factory