fixed !inversed error