make sure there is a next stage before checking for status