commit shadow trick