try to fix hanging apply