Kibana won't start after deleting optimize folder

Hello guys , so i've been working on a project and i had to change the kibana logo in login page , so i changed it and i moved the optimize folder(so i can go back where i was if something went wrong) and restarted kibana but it won't work !! i even moved back the optimize folder and still kibana won't work !! any idea what am i doing wrong ?
Im using kibana 7.4.0 on linux red hat


After removing the optimize folder kibana will need some time to rebuild the browser cache, but it should work afterwards.