build interface before show