bug fix on missing bracket