Fix a bug in /life command