fix visible with varibles
improve test with guard by test results