fix hidden_field usage, remove leftover code from default layout