fix bugs and this probably nicely save text temporaly