fix upload getLocation, remove css2file