restore missing code, extend course tabs to tab