main: fix loading of default target