fixed indent and cleand castbar show logic