fixed #8 with the resource proposed in the comments of this issue