fixed photo capture & crop