fixed typo that causes warning