remove troubleshoot codes and in populateObjectInEditWindow() function