fixed bug in coursemap