Corrected some problems generated by the update from draft to spase.