fix center function