fixed typo and added app import in helpers function