make sure reset is set. more check for pApp to see if it helps on fork in OSX.