fixed custom preconditions