ugly check