Fix for using .warning instead of .warn