Partially implemented feature to show place os error. Implemented braces validation.