fixing getprocess call