Check el exists before using it