check if null everywhere