adding formatting for special db fields