fixed potential bug which could allow requirement names of only whitespace