some fixes for old devices