few minor changes
fixes for few typescript errors