fixed WP uploading, added parameter uploading