correcting  NX & ESP
add refs