addindex issue fixed #14