Remove sel_pl_attr function to use string format instead