fix error messaging in upload controller