fixing effort value bug