svg was losing the dash type after drawing the key sample