avoid wrong string of boolean value