general refactoring and bug fixes, creating issues works again