Attempt to fix malformed type error