repaired issue with null profile