a more robust .invalid style