fixed variable assignment in case when register_globals is turned on