Error message due to close button fixed