fixed bug with course in localstorage that was not in courselist