fix again when no file is on client side