fixed sending of small files