fix for process imports parsing