fix application after removal of getPath