resolved a problem with header bar