fixed max-size bug