[bas] minor formatting and cleanup