simplify `compile-ps` code