rm useless code
hide course block if empty