small fixes

improve initwk