Added barriers after enabling clocks