double page title [duplicate]

I appreciate your comments, I have looked into a possible repeated question, however I did not find it as helpful as the last comment by @michel after looking into the functions.php file I found this filter

add_filter( 'wp_title', 'burger_wp_title', 10, 2 );
function burger_excerpt_length( $length ) {
    return 50;
}

Which I have gotten rid of and now I no longer can see duplicated site name in the page title.