remove generated max