courses fetch assignments when adding