more compatibility with iOS