final fix of diary access issue