hacky fix for user image uploads