removed unnecessary line
fixed issue with legend not using correct icon style