fix per suggestion by gholmes