bin types formatting (fixed #305)