fixed bug with view mode and tape
fixed #26