Prevent error div inside label tags
Add logging