Fixed minor bug that occured when adding a new classpath