correct a bug in helpers