no longer closes after upload