lil' change of minimalest_key (very needed)