fixes exoteric error #10 thanks to @josuetex