fix #1 — missing parameters

thanks to sarhugo