make sure constructor param isn't null