fixed  bracket problem