fixed ignoring adjust-size