fix so that basic target type stays until app is restarted