Fixed problem in FreeResourceAction