Fixed i/o for slug upload