fixed issue with clear function for full width