fix remember selection