Fix a bug in signature.py

replace room number by cycles number