minor changes
remove warning from matlab