bug coorrection