fixes for SimpleSEF

Signed-off-by: Suki <suki@missallsunday.com>