checking sfari overflow