fix refer warnings
quick fixes