profile waitfor fix