Some fix to compile code.