Edit struct issue