config loading dirty hack