Fixed logging method (warn -> warning)