reinitialize new layout