it seems that on line 49 the plugin tries to get the length of `Model.keys` yet the keys field is undefined