fix for boolean value