fix boolean check on client init