fix deft with saveplace
fix compilation warning