fixes brackets in spec