fix to hopefully work under p3k