Bad request added and bracket fixes