some fix, add pattern for params dialog

+bonus :)