better error management for centering interface