fixing register count for 32bit(x86) systema