Removed 64bit warnings. Better errors