solved the issue with hidden select boxes