changed mkey type from text to string