fixed a warning message