move after serverStatus to proper scope
slightly better error message