WIP: debugging image upload bug