# Troubleshooting suggestions

**URL:** <https://forum.cabbageaudio.com/t/troubleshooting-suggestions/2715>\
**Category:** Cabbage Stew\
**Created:** [14 July 2021 22:42 UTC](https://forum.cabbageaudio.com/t/troubleshooting-suggestions/2715 "2021-07-14T22:42:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hdale94](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/hdale94/32/6371_2.png) [@hdale94](https://forum.cabbageaudio.com/u/hdale94)\
**Post date:** [14 July 2021 22:58 UTC](https://forum.cabbageaudio.com/t/troubleshooting-suggestions/2715/2 "2021-07-14T22:58:12Z")

</div>

What do you mean by k-rate loops? While-loops? If-statements?

I remember I had a issue with if-statements and k-rate variables at initialization. The if-statement would run even if the condition was not true, thus setting the identifier to a value it was not supposed to be when starting to run the code. The way I fixed this was by using inline if-statements (like this post is showing: [LFO on GUI Parameters](https://forum-next.cabbageaudio.com/t/lfo-on-gui-parameters/2217/54)).

Could it be related to this? Maybe you can prepare a simple .csd where you experience the issue? Atleast record a .gif and post here (using something like ScreenToGif)?

---

_[View the full topic](https://forum.cabbageaudio.com/t/troubleshooting-suggestions/2715)._
