[mt 68] fixed sql Twin Peaks and code style