modify getEl undefined error