Fix bug about %