fixed figures and empty lines