make transforms work with unspecified size