fixed issue with MY_Model::replace_placeholder method