Fixed all system clock references to be clk