fix syntax ans scope problems