minor fix that makes maps work