Fix warning alerts