Fixed bleeding bug