minor updates to allow compilation