menu setup
crash fixes