fixed code to 0 errors