fix bug with space in @function
fix bugs with space and delete private message