debugging db in Proposal Controller