Fix compillation

Fixed compillation warnings