Interpretation of tails of X-ray bursts