fix temporary boolean checks