'be_mode' was getting confused by the leading 0.
Merge pull request #720 from mhaskel/vhost_mode_fix

'be_mode' was getting confused by the leading 0.