fixed bug in bug fix