Fix error when using Revision instead of Ref
fix project's menu display