fixing conditions brackets
fixing console