Fixed serious exceptions for css