add user null pointer fix