fixed metadata after switching from python to php