prev, next fixes