Fixed another scope issue