IE max number fix #6