code adjustments

minor adjustments only, nothing big