damn mutables
fixed a bug in default parameters