Fix for the Empty map save error