hack in post_upload