fixed a syntax error in list-bins (thanks Billy!)