add error method, change queue to success