metomi/rose#40: clean up if statement