fixed the issue where actions were not be inserted in the order queue