fix the issue caused by minigication.