bugfix logic error