cosmit : protect attributes in RBM for sphinx