Fix lowest and tank functions