parameter reading bug resolved