Fix warnings in deployment