removes public/index