fix all problems. work with small pics