questionably hacky fix to edit profile page