ui added in wrong place