Show/hide conditions are not working with embedded source code