fixed duration not being set as int in route