patterns fixing it