minor fix. improves code portability.