remove duplicate resolution and change dpi