cleanup blog app; use proper types