[FIX] fixed linux bug introduced  by commit 5d99a6