fix displayed weight in profiles.php