making 32bit compatible