remove unused variables
prevent population null errors