Fixed check() error