fix WPP entry point offset bug