Rmoved sme debug code.