fixing avatar upload