cleanup + res. param