Fix sdk max