nested fix