better method for getting active frame