Fix a bug in Inn system