fixed error when using mosaicdescriptor
creating hack for converting dimensions values