fixed max stuff