workaround pkg issue