types hash max size fix