small fixes

Avatar process exit