fixed color bug per #54, fixed on('select') bug per #58