fixes #6180 Error in browser console after you save Additional Info

Fixed the issue and pushed the code for review, please check it.