fixed error focus on empty page