fixed issue with bits - can't extract from key using native functions