hack fix of dpi, many copypastas