fix variable in associative array