fix #605 allow for single menu object instead of array