Fix item attributes