remove serializable interface of model object