fix broken modified? method.