Fixed wrong enum for memory setting