bugfix:extract FAIL to another package