Update FlowMap.java

Bug fixed