fixed pb with flexiant - should work