i decided to delete the project completely ( wasn't a big deal, small script and it was a good test for me about how much i knew of rebuilding it). after rebuild the app didn't error anymore.
- i went deeper into the naming of elements. this might have been the problem, we will never know .