minor clean code