updates to fix the required element