correct read of fork variable.