Fixes default period param
Cleans affairs