removed static $table attribute