change line 379, issue relates to getting uri in function modifyHandle