add a few const qualifier

Add a few const qualifier