fix production deployment and some docs