fix for stroke disabling