fixing level map references