fixed x64 issue in declare statements