solution for xs os problem