fixed issue with undefined index error caused by checkbox to keep dice