pom fixes to make refresh work