Fix offset to accept 0