fixed showinits bug