fixes #81 and #85 SimpleMedia external plugin