fix issue issue with leading slash in image uploader path