change attribute correct to type boolean