remove dead code
add check if there are no installable units in the profile