workaround for wordpress bug