bugs fixed on upload.