fixed dasharray check for none