fixing sme stuffs