fixed omitted variable declaration

Hi,

There was an omitted variable declaration for `$container`, this was not triggering an error when using the lib but my IDE complained about it.

Chris