checking for both non existing ids
message alerts