cleaner comment look and permission check on tasks
permission denied more consistently