fixed bug of make flag