Fixed bug with mine