fixed custom action uri generator rendering int when it should be long, fixes #159