remove unnecessary zlib import
better variable name
simply __setattr__ / modified detection