fix show bug when return value is false