small code beautification