removed Undefined index: unknown in profile.php