fixed scope issue and released