Bug in ratio calculation fixed