course message -> fixing undefined property errors