fix bug for new map