fix issues with req