Fixed sme errors