Course form multiple sandbox

Bug fixes to sandbox creation