deleting empty layout