Updated errors

Updated Syntax error and cache hit ratio calculation