update

add menu bar & fix program