fixed bug with show_result