fixed initialization when passed numerical parameters