Fixed pellets bug