org.hibernate.hql.ast.QuerySyntaxException: cannot dereference scalar collection element: cspName

Java Code:
st.append("SELECT,sum(csp.cspValue) as TotalMoney ");
            st.append("from ACCOUNT as account ");
            st.append("left join account.CSPFields as csp with (( and  (csp.cspName = 'Target')) ");
            st.append("left join Customers as customers");
            st.append("with ");
st.append("where (account.accountDate between :startDate and :endDate) ");
            st.append("and ( in (:acIDs)) ");
            st.append("group by");
CSPFields is object of map in Account class. cspName is key in map collection.

please suggest.