Fixed an issue with Prism