* fixed a lot of warnings