Bugfix dir upload