workaround on sh lib load modes