added diagnositc message to open