Change from 'this' to L'this' and remove the cast that was hiding this mismatch.