fixed resulting bug