changed deploy default and fixed table bug