Improve queue_rate initializing