Fix #1410
Merge pull request #1411 from wild-billy/ghosts_aiupload

Fix #1410