errors in helpers