Avoid to have a bug when a boolean is declared more than one time