Attribution and fixing identical labels causing inputs to not work