fixing multiple queries
post array problems