fixed issues with raw stat
fixed issues with raw stat