fixed two specs being brittle