allow empty targets and empty lines in the targets