modified a bug