fix bug: type convert and queue pending