fixed detail associate bug
fixed syntax error
sytnax error