Fix % d issue