FIX: bug in Unix systems