Modify error message

Change duplicate course error