1. fix a minor bug