fix wrapping img in anchor