parse int for chrome