Do not crash on invalid avatar