Fixed bug in after upload (data going missing)