bug fixes of lfm model
add module to train data