some error checking due to mosso not always sending a proper viewdatabase page