fix problems and improve my move-text functions