fixed bug in show_default