some fixes for prd and repos