Fixed upload folder issue

Fixed #2