boolean to i patch