fixed tech debt {} of if