fixing bugs makes wrong results
more