adding "debug-on-entry" to workaround an issue