fixed issues with having post at application scope