Fixed edit profile issues