Changed warn() call - which does not exist! - to fail()