fix from code syntax type error