depth detection issue fixed