fix problem for some samsung devices