fixed application requests

was using old postegresql language