Problems with resolve action