this is a dirty workaround