split and capitalize headers