fixed issue with model name being used for pages