fixed bug: bad argument #-1 ...blabla