mobile and non-mobile pan fix