Fixed database display issue