bug in mapFormElement: arguments were in wrong order