Fig bug; prevent "null pointer exception" on view profile action (fix #21)