fix a hidden bug