fix a testing bug