Code reporting and fix specs