fixed bug by fixing bad data