fixing rb file