minor logic error to Mintdick