Avoid using reset which gives strict error