small bug fixes for knife_common and ironfan/dsl