#394 fixed jsp and add script to fix entry items