Fixed invalid attribute on check