fixed more bugs in system check