Bug fix for isCSB function to hide header