added active_low fix to lib/models/light