fixed a warning