make deploy work properly