fix for bool input to custom resource..