cleaned up keep keys formattting