fixed error if empty parameters on first launch