remove unnecessary -1