fix #2518: NPE in RMapsApp