Fixed some deployment stuffs