improving error detection for css modules