fix to the component can be used on iPad also