fixing issue in calendar impl that embeds apam dependence