upload page fixed after db changes