bug fixed on compact mode. now correctly works with parentheses.
Merge origin/master