Fixes xss issue