fix public folder deleted breaking build