fix dpi setting