use 0 reward default instead of null