fixed BorderConfig
removed trove
using parametric commands