Added try to protect