added fixes for firefly command which didn't work with xEssentialsMemory