updated a bug