altered routes, java bug fixed