fix for corner effect