Fixed YAML error, incorrect argument format (requires passing by reference)