Fixing Trap ratio error.