fix for creating empty course resources