fix bugs
add simulate actions