Add __DIR__ to autoloader
Cast status to int first as it's a simplexml object :/