another fix for target saving layout