Fix for clearing