delete layout and remove imports