Compatibility with older versions

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