added hacks for Scilab5.4