laybuy db+gui fixes