Fixed bug with default value after shifting parameters in translate function