fixed a missing layout variable