fixed menu callback in view