fixed a bug with modify method and the find by name method by utilizing capitalization