resolved type error