fix bug so it works even if smbus not installed