fixed depth detection