minor type error fix