fixed quantity display bug introduced in f0eebf193743fe66fc5ff9b993dfda1c7dc3a5e2