[ms-protect-content id=”664?] [/ms-protect-content] shortcode visible on page


I have protected some content on a page using the [ms-protect-content id=”664?] [/ms-protect-content]. This works and protects the content from non-members to the site. But when a member is logged in and able to see the protected content, the above shortcodes are still visible.
How can I hide the shortcode?