modify mine layout