minor fix
update: double click on frame to switch mode