Revert "minor changes"

This reverts commit bb889213e8acbaa53f516a20968adb70e79b160d.
Revert "Revert "minor changes""

This reverts commit 9242896b4da68a717c49bcaad7a55b5ad9b0943c.
the code seems to be incomplete. added some code to make it work
Merge branch 'master' of https://github.com/manchoren/ARIPDSurveyBundle