py qa for cleanup