works with recirect command. fix #1