fix some error and modified some view