fixed other mistakes on clk enabling