Fixed the subdept prob