when using a wmc, it works, without its not working