don't allow undefined styles