revised a bug