fixed bug in award algo