remove unnecessary closing bracket