Fixed check of there