fixed 'Mimetype not accepted' error message
bug fix when importing as a new course and as a child node