Fix to exception

https://www.exceptional.io/exceptions/579391536