progress on deployment + fixed warnings and a bug