updated for broken processMenuHeader