avoid error when there are no courses defined in module