fixing missing ? on nil