fix course duration type error