LAMPapp cookbook bugfixes