fixes in entry point for zrt initialization