fixed some depths bugs myself since max won't commit his damned change