still trying to fix ios device bug