fixed custom pages on custom sql prefix installs