solved picture taken problem