fixed typing fault