everything works except upload