fix bug for dockerfile and makefile