update menu parent script to hide error