fix deprecated variable for username