fixed path in take.picture