view: delete some code not used