lampx: fixed misc problems