Fix for exception + reset style