Filebeat 7.1.1 oss

I have just installed open distro elasticsearch, kibana and filebeat oss 7.1.1

They are all working flawlessly.
Furthermore, running filebeat -e, i am getting an error ** ERROR registrar/registrar.go:374 Writing of registry returned error: rename /var/lib/filebeat/registry/filebeat/data.json.new /var/lib/filebeat/registry/filebeat/data.json: no such file or directory. Continuing…

I tried to delete data.json, copy it, rename it but i cannot. (i have root access).

root@osboxes:/home/osboxes# ls -l /var/lib/filebeat/registry/filebeat
total 16
-rw------- 1 root root 10019 Sep 6 03:29 data.json
-rw------- 1 root root 16 Sep 5 03:59 meta.json

any help would be much appreciated.
Thank you