fix two bugs
updated ratio for something