fixing smartphone bug