correcting error: getting back to former layout