bash_functions: fix change_layout