master: changed if-one-liner to full if statement.