fixed production rb file