fixed cheaphost permalink issue, cleaned up generatedview