added fix for AIX