added dpi awareness