ratio bug fixed!