workaround auto crop