[MOD] avoid compiler warning
[FIX] resolve path
[MOD] improve memcmp
[FIX] remove debug code