removed commented code
remove useless setting method