fix issues with sketch