Fix warning about non-object