fixing issues with strict variables