cleaned up page templates