Fixing elementisNOTPresent