Fix compatibility with older devices