Fix variable assignment

This patch removes unnecessary `$` in the left side of the assignment.