Fixes error codes on insight