first render lock in application