use autoprops

since it is less code
remove redundant this