Removing dir from span. Doesn't work