minor code optimization

Just found that glitch. No need to release new version. Just include into next one.