Fix a bug in status