only get properties if they are present