Fixed errors when reloading CGIs from CA  module