small fixes for fileuploader