Fixed closure compile process error and warnings