fixing camera and gallery