I did ran into some exceptions caused by the #overflow section and it loc

I did ran into some exceptions caused by the #overflow section and it locked the plugin since the lock was not releases. I see that there is a correction by using str_to_num to address this.  It could be prudent to have this try catch.