workaround for parsing metadata.

fixes the resolution now including dots per inch