Solved errors

Correctly changed 'a' to 'app.' to associate with |app| group