make course mapper to return only active courses