version & map framework
fix bugs