some fixes for a working deploy