Bug fix

Revision number bug fix