fixed warnings
minor fixes