order of setting size is incorrecr in loadmetadata. needs to be retrieved before grf is computerd