solve the plus one proble.