Fix buff checking