corrected error in pop usage