ios fix + oveflow fix