some fixed to capfile