Fixed pretty print map bug.