fix issues with the persistent launch