added a workaround to use device with android version lower 18 (jelly bean mr2)