quick fix for proc