working until upload redirect to post