Fixed bug in code offet reporting