Extending depth to fix ctrl + p problem