put optional param last in queue