remove invalid characters from import (derp)