move cast menu to helper