Fixing system_check method.