correction for portability