fixed bug modernizer