minor bugfix for v1