protect against null player